#---------------------------------------------
# PBS settings
#---------------------------------------------
pbs.queue = [%- config.get('pbs.queue') -%]
[%- pbs_nodes = config.pbs.nodes -%]
[% FOREACH name IN pbs_nodes %]
pbs.nodes.[%- loop.count - 1 -%] = [%- name -%]
[% END %]

#---------------------------------------------
# Pl/Proxy cluster settings
#---------------------------------------------
default_cluster = [%- config.default_cluster %]
[%- clusters = config.cluster -%]
[% FOREACH c IN clusters %]
cluster.[%- c.key %].proxy = [%- c.value.proxy -%]
    [% FOREACH n IN c.value.nodes %]
cluster.[%- c.key -%].nodes.[%- loop.count - 1 -%] = [%- n -%]
    [% END -%]
[% END %]

#--------------------------------------------
# Database configuration
#--------------------------------------------
databases_config_file = [%- config.databases_config_file %]

#---------------------------------------------
# Actions definition
#---------------------------------------------
action_define_file = [%- config.action_define_file %]

#---------------------------------------------
# Command line options
#---------------------------------------------
global_arguments = [%- config.global_arguments %]

#---------------------------------------------
# Include application configurations
#---------------------------------------------
[%- FOREACH f IN config.INC %]
include = [%- f -%]
[% END %]

#---------------------------------------------
# Program location
#---------------------------------------------
[%- FOREACH n IN config.section('programs') %]
programs.[%- n.key -%] = [%- n.value -%]
[% END %]

#---------------------------------------------
# pg_bulkload setting
#---------------------------------------------
[%- FOREACH n IN config.section('bulkload') %]
bulkload.[%- n.key -%] = [%- n.value -%]
[% END %]
